package com.cosmoplat.gfqd.config;

import lombok.Data;

import java.util.List;


@Data
public class BootStrapConfig {
    private GitLab gitlab;
    private CreateProject createProject;
    private GenerateProject generateProject;


    @Data
    public static class GitLab {
        private String url;
        private String accessToken;
        private String account;
        private String groupId;
        private List<Long> projectIds;
        private List<Long> excludeProjectIds;

    }

    @Data
    public static class CreateProject {
        private String archetypeGroupId;
        private String archetypeArtifactId;
        private String archetypeVersion;
        private String archetypePackage;
    }

    @Data
    public static class GenerateProject {
        private String newArtifactId;
        private String newGroupId;
        private String newVersion;
        private String newPackage;
        private String newProjectName;
        private String nacosServerAddr;
        private String nacosNameSpace;
        private Long pushOriginGroupId;

    }

}
